/*
 * Copyright (C) 2015 Baidu, Inc. All Rights Reserved.
 */
package com.coderyuan.utils;

import android.app.Notification;
import android.app.NotificationManager;
import android.content.Intent;

/**
 * NotificationUtils
 *
 * @author yuanguozheng
 */
public class NotificationUtils {

    private static NotificationManager sManager = SystemManager.getNotificationManager();

    public static void sendNormalNotification(int icon, String text, int flag, int id,Intent intent) {
//        Notification notification = new Notification();
//        notification.icon = icon;
//        notification.tickerText = text;
//        notification.flags = flag;
//        notification.setLatestEventInfo(SystemManager.getContext(), text, null, intent);
//        sManager.notify(id, notification);
    }

    public static void cancelNotification(int id) {
        sManager.cancel(id);
    }
}
